package com.retirement.activity.service;

import com.retirement.activity.domain.OldActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.retirement.activity.dto.OldActivityAddDto;
import com.retirement.activity.dto.OldActivityDto;
import com.retirement.activity.vo.OldActivityVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lijy
 * @since 2023-12-22
 */
public interface IOldActivityService extends IService<OldActivity> {

    int addActivity(OldActivity dto);

    int updateActivity(OldActivityAddDto dto);

    List<OldActivity> listOldActivity(OldActivityDto dto);

    OldActivityVo getDetail(String id);

    int deleteOldActivity(String id);

}
